SymbCrvSubdivOffset

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

SymbCrvSubdivOffset()  

SYNOPSIS

symb_lib/offset.c:183

CagdCrvStruct *SymbCrvSubdivOffset(CagdCrvStruct *Crv,
                                   CagdRType OffsetDist,
                                   CagdRType Tolerance,
                                   CagdBType BezInterp)
 

DESCRIPTION

Given a curve and an offset amount OffsetDist, returns an approximation to the offset curve by offseting the control polygon in the normal direction. If resulting offset is not satisfying the required tolerance the curve is subdivided and the algorithm recurses on both parts.  

PARAMETERS:

Crv: To approximate its offset curve with distance OffsetDist.

OffsetDist: Amount of offset. Negative denotes other offset direction.

Tolerance: Accuracy control.

BezInterp: If TRUE, control points are interpolated when the curve is reduced to a Bezier form. Otherwise, control points are translated OffsetDist amount only, under estimating the Offset.  

FUNCTION RETURN VALUE

CagdCrvStruct *: An approximation to the offset curve, to within Tolerance.  

SEE ALSO

SymbCrvOffset, SymbSrfOffset, SymbSrfSubdivOffset, SymbCrvAdapOffset, , SymbCrvAdapOffsetTrim, SymbCrvLeastSquarOffset, SymbCrvMatchingOffset,

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
SEE ALSO
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:17 GMT, October 17, 2022